package cn.dnui_zjs008.dnuifood_.service;

import cn.dnui_zjs008.dnuifood_.bean.ResultBean;
import cn.dnui_zjs008.dnuifood_.bean.UserBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface UserService {
    @GET("userLogin.do")
    Call<UserBean> doLogin(@Query("usernmae") String username,
                           @Query("userpass") String userpass);
    @GET("userRegister.do")
    Call<ResultBean> doRegister(
            @Query("username") String username,
            @Query("userpass") String userpass,
            @Query("mobilenum") String mobilenum,
            @Query("address") String address,
            @Query("comment") String comment
    );

}
